package gov.child.service;

import gov.child.entities.vo.Department;
import gov.child.entities.vo.Guide;
import gov.child.entities.vo.Page;

import java.util.List;

/**
 * @author fzh
 * @since 2017/9/14
 */
public interface GuideService extends Pageable {

    List find(Department department, Boolean online, Byte ... obj);

    Guide findById(Integer id);

    List findAll(Page page);

    List findByObj(Byte obj, Page page);

    List findByOnline(Byte online, Page page);

    List findByDepartment(Department department, Page page);

    boolean save(Guide guide);

    boolean update(Guide guide);

    boolean delete(Guide guide);
}
